package cn.crm.dao;

import cn.crm.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {
    @Select("select * from sys_user where user_code=#{user_code} and user_password=#{user_password}")
    public User login(@Param("user_code") String user_code,
                      @Param("user_password") String user_password);
}
